<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <meta name="format-detection" content="telephone=no" />
    <title>挖矿列表</title>
    <link rel="stylesheet" href="../../css/reset.css">
    <style>
        body {
            width: 100%;
            height: auto;
            background-color: #F8F8F8;
            font-family: Helvetica;
            color: #333333;
            font-size: 0.28rem;
            font-family: PingFang SC;
            position: relative;
        }

        header {
            width: 100%;
            height: 1rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0.3rem;
            font-size: 0.28rem;
            font-weight: 400;
            color: #262626;
            box-sizing: border-box;
            position: sticky;
            position: -webkit-sticky;
            top: 0;
            left: 0;
            background-color: #f8f8f8;
            z-index: 100;
        }

        header ul {
            flex: 1;
            height: 1rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: flex-start;
        }

        header ul li {
            width: 0.9rem;
            height: 1rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            position: relative;
        }

        header ul li:not(:first-of-type) {
            justify-content: center;
        }

        header ul li::after {
            width: 0.24rem;
            height: 0.06rem;
            background: #f8f8f8;
            content: "";
            position: absolute;
            left: 20%;
            bottom: 0.1rem;
            border-radius: 3px;
        }

        header ul li.active {
            font-size: 0.44rem;
        }

        header ul li.active::after {
            background: #EAB223;
            left: 30%;
        }

        .outbox {
            width: 100%;
            height: auto;
        }

        .macineIndex {
            width: 100%;
            height: 2.3rem;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            padding: 0.2rem 0.3rem;
            padding-bottom: .36rem;
            box-sizing: border-box;
        }

        /* 普通矿机列表 */
        #showTips {
            width: 0.8rem;
            height: 1rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: flex-end;
            box-sizing: border-box;
            padding-top: 0.1rem;
        }

        #listState {
            width: 100%;
            font-size: 0.25rem;
            text-align: center;
            color: #999999;
            padding: 10px 0;
            margin-top: 0.5rem;
        }

        .listState {
            width: 100%;
            font-size: 0.25rem;
            text-align: center;
            color: #999999;
            padding: 10px 0;
            margin-top: 0.2rem;
        }

        .snapupClass {
            background: url("../../image/bgbtcbhpxa.png") no-repeat center;
            background-size: cover;
        }

        .newPersen {
            background: url("../../image/bgbtcbhpxb.png") no-repeat center;
            background-size: cover;
        }

        .blackClass {
            background-color: #ffffff;
        }

        .intervalHour {
            width: 100%;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: center;
        }

        #goodslist {
            width: 100%;
            height: auto;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
        }

        #showOrinList {
            width: 6.9rem;
            height: auto;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
        }

        #showOrinList li {
            width: 100%;
            height: auto;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            position: relative;
            background-color: #ffffff;
            border-radius: 0.1rem;
            margin-bottom: 0.2rem;
            overflow: hidden;
        }

        #showOrinList li>img {
            position: absolute;
            right: 0.13rem;
            top: 0.23rem;
            width: 1.91rem;
        }

        #showOrinList li>div:first-of-type {
            width: 100%;
            height: auto;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
            box-sizing: border-box;
            padding: 0 0.35rem;
        }

        #showOrinList li>div:first-of-type>p:first-of-type {
            width: 100%;
            height: 0.6rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: flex-start;
            box-sizing: border-box;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            font-size: 0.28rem;
            font-family: PingFang SC;
            font-weight: bold;
            color: rgba(38, 38, 38, 1);
            margin-top: 0.2rem;
        }

        #showOrinList li>div:first-of-type>p:first-of-type span {
            max-width: 80%;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .showTips {
            width: 100%;
            height: auto;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: flex-start;
            position: relative;
        }

        .showTips>p:first-of-type {
            width: auto;
            height: auto;
            font-size: 0.22rem;
            font-family: PingFang SC;
            font-weight: 500;
            display: flex;
            display: -webkit-flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-start;
        }

        .showTips>p:first-of-type>span {
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: center;
            flex-wrap: nowrap;
            box-sizing: border-box;
            padding: 0.04rem 0.12rem;
            background: rgba(253, 248, 236, 1);
            opacity: 0.99;
            color: rgba(216, 144, 5, 1);
            border-radius: 0.06rem;
            padding: 0 0.12rem;
            margin-top: 0.1rem;
        }

        .leastTimeInterval {
            position: absolute;
            right: 0;
            top: 0.06rem;
        }

        .setBg {
            background-color: #231C08;
            color: #ffffff;
            padding: 0.05rem;
            font-size: 0.2rem;
            border-radius: 2px;
            width: 0.5rem;
            height: 0.3rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: center;
        }

        .unitPower {
            width: 100%;
            height: auto;
            display: flex;
            display: -webkit-flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            margin-bottom: 0.1rem;
        }

        .unitPower p {
            width: 100%;
            height: 0.44rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.24rem;
            font-family: PingFang SC;
            font-weight: 500;
            color: rgba(153, 153, 153, 1);
        }

        .unitPower p>span:last-of-type {
            font-size: 0.24rem;
            font-family: PingFang SC;
            font-weight: bold;
            color: rgba(89, 89, 89, 1);
        }


        #showOrinList li>div:last-of-type {
            width: 100%;
            height: 0.66rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid #eeeeee;
            padding: 0 0.35rem;
            box-sizing: border-box;
            font-size: 0.24rem;
            font-family: PingFang SC;
            font-weight: 500;
            color: rgba(153, 153, 153, 1);
        }

        #showOrinList li>div:last-of-type>p>span:last-of-type {
            color: rgba(89, 89, 89, 1);
        }

        /* 算力指数 */
        #toast {
            width: 100%;
            height: 0.7rem;
            line-height: 0.7rem;
            background: #FFFBED;
            padding: 0 0.32rem;
            color: #E19511;
            font-size: 0.26rem;
            box-sizing: border-box;
        }

        #toast img {
            width: 0.32rem;
            height: 0.32rem;
            vertical-align: middle;
            margin-left: 0.06rem
        }

        #toast span {
            line-height: 0.7rem;
            vertical-align: middle;
        }

        .macineIndex>div {
            width: 100%;
            display: flex;
            height: auto;
            display: -webkit-flex;
            align-items: center;
            justify-content: space-between;
        }

        .macineIndex>div p {
            width: 3.34rem;
            height: 0.7rem;
            border: 1px solid #D2D2D2;
            border-radius: 0.08rem;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.28rem;
            color: #999999;
        }

        .macineIndex>div p.active {
            border-color: #FFD30B;
            background-color: #FFD30B;
            color: #262626;
        }

        footer {
            width: 100%;
            height: 0.84rem;
            background: #FFFBED;
            border-radius: 0.26rem 0.26rem 0px 0px;
            display: flex;
            display: -webkit-flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0.3rem;
            box-sizing: border-box;
            color: rgba(225, 149, 17, 0.71);
            font-size: 0.24rem;
            position: fixed;
            bottom: 0;
            left: 0;
        }

        footer p:first-of-type {
            font-size: 0.32rem;
            font-family: PingFang SC;
            font-weight: bold;
            color: #E19511;
        }
    </style>
</head>

<body>
    <header>
        <ul class="pageChoose">
            <li class="active" data-coin="IPFS">
                IPFS
            </li>
            <li data-coin="BTC">
                BTC
            </li>
            <li data-coin="ETH">
                ETH
            </li>
        </ul>
        <p id="showTips">
            <img src="../../image/shuomingnewx.png" style="height: 0.52rem;">
        </p>
    </header>
    <div class="outbox">
        <div class="macineIndex">
            <p id="toast">
                <span> 实时BTC算力指数：</span>
                <span class="textNumber">--</span>
                <span>CNY/T*天</span>
                <img src="../../image/iconss.png" alt="" class="seeDetail">
            </p>
            <div class="changemachine">
                <p class="active" data-machine="PT">
                    经典BTC
                </p>
                <p data-machine="GB">
                    高波BTC
                </p>
            </div>
        </div>
        <div id="goodslist" style="box-sizing: border-box;">
            <ul id="showOrinList"></ul>
            <div id="listState"></div>
        </div>
    </div>
    <footer class="showc2c">
        <p>
            C2C交易
        </p>
        <p>
            立即前往>>
        </p>
    </footer>
</body>
<script src="../../script/autosize.js"></script>
<script src="../../script/fastclick.js"></script>
<script src="../../script/jquery_three_two_one.js"></script>
<script src="../../script/dotmin.js"></script>
<script src="../../script/app.js"></script>
<script>
    apiready = function () {
        var app = new APP();
        var account = app.getAccount();
        var page = 1, totalPage = 1, numberNowInterval = null, numberNow = Number(new Date()), loadedNum = 0, countDownIds = [];
        // 异步请求算力指数
        app.asynchronousAjax("site/get-index", {
            token: account ? account.token : ""
        }, function (ret) {
            if (ret.code == 200) {
                $('.textNumber').text(ret.data.index);
            } else {
                $('.textNumber').text("--");
            }
        })
        function numberDate(d) {
            return Number(new Date(d));
        }
        //倒计时
        function setStatus() {
            for (var i = 0; i < dataArr.length; i++) {
                if (dataArr[i].orinStaus == "waitOpen") {
                    var timeLast = dataArr[i].time_left;
                    var ii = i + loadedNum;
                    (function (id, timeLast) {
                        var timer = new app.COUNTDOWN(timeLast);
                        if (timeLast && timeLast > 0) {
                            $("#button" + id).removeClass("next").addClass("inputNull").attr("data-url", "");
                            timer.start(
                                function (ret, err) {
                                    if (ret > 0) {
                                        var timeArr = app.getDuration(ret).split(":");
                                        $("#button" + id).find(".leastHour").text(timeArr[0]);
                                        $("#button" + id).find(".leastMin").text(timeArr[1]);
                                        $("#button" + id).find(".leastSes").text(timeArr[2]);
                                    } else {
                                        $("#button" + id).css({
                                            display: "none"
                                        });
                                        $("#listItemNew" + id).attr("data-stutas", "itemCanRent");
                                    }
                                },
                                function (index) {
                                    countDownIds.push(index);
                                }
                            );
                        }
                    })(ii, timeLast);
                }
            }
        }
        //矿机列表(可回购)
        function loadPage(return_type) {
            app.ajaxPro({
                url: "machine/lists",
                values: {
                    token: account ? account.token : "",
                    return_type: return_type  //1可回购 ，2不可回购
                },
                openFlower: true
            }, function (ret) {
                if (ret.code == 200) {
                    dataArr = ret.data.list;
                    ret.data.list.map(function (item, index) {
                        ret.data.list[index].loadedNum = loadedNum;
                        if (item.num_left <= 0) {
                            //售罄
                            item.orinStaus = "sellOut";
                        } else {
                            var openTime = numberDate(item.panic_buying_time.replace(/-/g, "/"));
                            item.now = numberNow;
                            item.openTime = openTime;
                            var isWait = openTime - numberNow;
                            item.isWait = isWait;
                            if (item.time_left > 0) {
                                //待开放
                                item.orinStaus = "waitOpen";
                            } else {
                                item.orinStaus = "itemCanRent";
                            }
                        }
                        if (item.is_only_newbie == 1) {
                            item.bgClass = "newPersen"
                        } else {
                            if (item.is_bhp_pos == 1 && item.orinStaus == "waitOpen") {
                                item.bgClass = "snapupClass"
                            } else {
                                item.bgClass = "blackClass"
                            }
                        }
                        item.num_leftTotalPower = app.accMul(item.base_power, item.num_left);
                        for (var i = 0; i < item.good_deposit.length; i++) {
                            if (item.good_deposit[i].pay_currency == "USDT") {
                                if (String(item.good_deposit[i].goods_deposit).indexOf(".") != -1) {
                                    if (item.good_deposit[i].goods_deposit.split(".")[1] * Math.pow(10, 4) > 1) {
                                        item.usdtPrice = item.good_deposit[i].goods_deposit
                                    } else {
                                        item.usdtPrice = item.good_deposit[i].goods_deposit.split(".")[0]
                                    }
                                } else {
                                    item.usdtPrice = item.good_deposit[i].goods_deposit
                                }
                            }
                            if (item.good_deposit[i].pay_currency == "CNY") {
                                if (String(item.good_deposit[i].goods_deposit).indexOf(".") != -1) {
                                    if (item.good_deposit[i].goods_deposit.split(".")[1] * Math.pow(10, 4) > 1) {
                                        item.cnyPrice = item.good_deposit[i].goods_deposit
                                    } else {
                                        item.cnyPrice = item.good_deposit[i].goods_deposit.split(".")[0]
                                    }
                                } else {
                                    item.cnyPrice = item.good_deposit[i].goods_deposit
                                }
                            }
                        }
                        if (item.type == 11 || item.type == 10) {
                            if (item.type == 11) {
                                item.elecPriceCny = app.sliceNum(item.electric_price.CNY, 2);
                                item.todayElecCny = app.accMoreMul(item.electric_price.CNY, item.mine_power, 24, item.base_power);//每日电费
                                item.elecPriceUsdt = item.electric_price.USDT;
                            }
                            var predict_income_level = item.predict_income_level;
                            var minNum = predict_income_level[0].income_rate;//数组最小值
                            var maxNum = predict_income_level[0].income_rate;//数组最大值
                            for (var i in predict_income_level) {
                                var itemnew = predict_income_level[i];
                                if (itemnew.income_rate < minNum) {
                                    minNum = itemnew.income_rate;
                                }
                                if (itemnew.income_rate > maxNum) {
                                    maxNum = itemnew.income_rate;
                                }
                            }
                            maxNumRateNum = app.sliceNum(app.accMul(maxNum, 100), 2);//净收益率最大值
                            minNumRateNum = app.sliceNum(app.accMul(minNum, 100), 2);//最小值
                            item.income_ratePre = minNumRateNum + "% ~ " + maxNumRateNum;
                        }
                    })
                    var temp = doT.template($("#listTpl").text());
                    $("#goodslist > ul").html(temp(ret.data.list));
                    setStatus();
                    loadedNum += dataArr.length;
                    // 如果是第一页，并且没有数据
                    if (page == 1 && ret.data.list.length == 0 && return_type == 1) {

                    } else {
                        $("#listState").css("height", "auto").text("没有更多了");

                    }
                }
            });
        }
        //IPFS矿机加载 
        function loadIpfs(params) {
            app.ajaxPro({
                url: "ipfs/index",
                values: {
                    token: account ? account.token : ""
                },
                openFlower: true
            }, function (ret) {
                if (ret.code == 200) {
                    var uri = ret.data.url;
                    var Ipfs_Y = app.safetyHeaderArea + 20;
                    if (app.ST == "ios") {
                        Ipfs_Y = app.safetyHeaderArea + 55;
                    }
                    app.openFrame({
                        name: "IPFS_frame",
                        url: uri,
                        bgColor: "",
                        rect: {
                            x: 0,
                            y: Ipfs_Y,
                            w: app.W,
                            marginBottom: app.safetyFooterArea + 55,
                        }
                    });
                }
            });
        }
        loadIpfs();
        $(".pageChoose li").click(function () {
            app.closeF('IPFS_frame');
            $(".showmakeOverPower,#showOrinList,#addTextClass").empty();
            var chooseCoin = $(this).data("coin");
            $(this).addClass("active").siblings().removeClass("active");
            if (chooseCoin == "IPFS") {
                loadIpfs();
                return
            }
            if (chooseCoin == "BTC") {
                loadPage(1);
                return
            }
        })
        $(".changemachine p").click(function () {
            loadedNum = 0;
            page = 1;
            $("#goodslist > ul").empty();
            $("#listState").css("height", "auto");
            // 清除所有定时器
            for (var i = 0; i < countDownIds.length; i++) {
                window.clearInterval(countDownIds[i]);
            }
            countDownIds.length = 0;
            $(this).addClass("active").siblings().removeClass("active");
            var dataMachine = $(this).data("machine");
            if (dataMachine == "PT") {
                loadPage(1);
            } else {
                loadPage(2);
            }
        })
        $(".showc2c").click(function () {
            var pageValue = {
                name: "c2change",
                subpage: "mainpage/c2change",
                title: "C2C交易",
                param: {
                    pageName: "c2change",
                    allowEdit: true,
                }
            }
            app.setNavBarAttr(pageValue);
        })
    }
</script>
<!--直接购买-->
<script type="text/html" id="listTpl">
        {{~it:item:index}}
        <li id="listItemNew{{=item.loadedNum+index}}" data-stutas="{{=item.orinStaus}}" data-id="{{=item.machine_id}}"
            data-url="fisrt/item_detail" data-machineType="{{=item.type}}"
            data-isBhp="{{=item.is_bhp_pos == 1?'yes':'no'}}">
            <div class="defaultbg {{=item.bgClass}}">
                <p>
                    {{?item.is_bhp_pos==1}}
                    <img src="../../image/iconbsasx.png" style="width: 0.67rem;height: 0.3rem;border-radius:0.08rem;">
                    {{??}}
                    {{?item.currency_code=="BTC"}}
                    <img src="../../image/iconasxx.png" style="width: 0.3rem;height: 0.3rem;border-radius:0.08rem;">
                    {{??item.currency_code=="ETH"}}
                    <img src="../../image/iconcethx.png" style="width: 0.3rem;height: 0.3rem;border-radius:0.08rem;">
                    {{??}}
                    <img src="../../image/icondltcx.png" style="width: 0.3rem;height: 0.3rem;border-radius:0.08rem;">
                    {{?}}
                    {{?}}
                    <span style="margin:0 0.1rem">
                                {{=item.name}}
                            </span>
                    {{?item.is_only_newbie == 1}}
                    <img src="../../image/icongiftx.png" style="width: 0.44rem;height: 0.46rem;">
                    {{?}}
                </p>
                <div class="showTips">
                    <p>
                        {{?item.insurance_id}}
                        <span style="margin-right:0.1rem;background:linear-gradient(-90deg,rgba(252,162,50,1),rgba(255,184,32,1));color:#ffffff;">
                            收益保障
                        </span>
                        {{?}}
                        {{?(item.type == 10 || item.type == 11)}}
                        <!-- <span style="margin-right:0.1rem;">
                            不可回购
                        </span> -->
                        <span>
                            合约期{{=item.regular_date_num}}天
                        </span>
                        {{??}}
                        <span>
                            锁定期{{=item.regular_date_num}}天
                        </span>
                        {{?}}
                        {{?item.type == 11}}
                        <span style="margin-left:0.1rem;">
                                        不包电费
                                    </span>
                        {{?}}
                        {{?item.is_only_newbie == 1}}
                        <span>
                                        新手专享
                                    </span>
                        {{?}}
                        {{?item.is_installment ==1}}
                            <span style="margin-left:0.1rem;background:rgba(255,242,239,1);border-radius:0.04rem;color:rgba(194,56,43,1);">
                                分期购
                            </span>
                        {{?}}
                    </p>
                    <p class="leastTimeInterval" style="display:{{=item.orinStaus=='waitOpen'?'block':'none'}};"
                       id="hideInterval{{=item.loadedNum+index}}">
                        <span class="intervalHour" id="button{{=item.loadedNum+index}}">
                            <span class="leastHour setBg">00</span><span> &nbsp;:&nbsp;</span>
                            <span class="leastMin setBg">00</span><span> &nbsp;:&nbsp;</span>
                            <span class="leastSes setBg">00</span>
                        </span>
                    </p>
                </div>
                <div class="unitPower">
                    <p>
                        <span>
                            单份BTC算力
                        </span>
                        <span>
                            {{=item.base_power}}{{=item.currency_code=="BTC"?"T":"M"}}{{?item.type!=11 && item.type!=10}}
                                {{?item.more_power_percent}}
                                    +{{=item.more_power_percent}}%
                                {{?}}
                            {{?}}
                        </span>
                    </p>
                    <p style="display:{{=item.is_bhp_pos==1?'flex':'none'}}">
                                <span>
                                    单份BHP参配算力
                                </span>
                        <span style="color:#262626;">{{=item.bhp_power}}{{=item.currency_code=="BTC"?"T":"M"}}</span>
                    </p>
                    <!-- <p>
                        <span>
                            单份合约算力
                        </span>
                        <span>
                            {{=item.base_power}}
                            {{?item.currency_code=="BTC"}}
                                T
                            {{??}}
                                M
                            {{?}}
                            {{= item.more_power_percent<=0? "": ( '+'+item.more_power_percent+ '%')}}
                        </span>
                    </p> -->
                    <p>
                        <span>
                            单份金额
                        </span>
                        {{?(item.usdtPrice && item.cnyPrice)}}
                        <span style="color:#ff7c34;">{{=item.cnyPrice}}<span
                                style="padding-left: 0.02rem;font-size:0.2rem;">&nbsp;CNY</span>/&nbsp;{{=item.usdtPrice}}<span
                                style="padding-left: 0.02rem;font-size:0.2rem;">&nbsp;USDT</span> </span>
                        {{??}}
                        <span style="color:#ff7c34;">
                                        {{=item.cnyPrice ? item.cnyPrice :item.usdtPrice}}<span
                                style="padding-left: 0.02rem;font-size:0.2rem;">&nbsp;{{=item.cnyPrice ? "CNY" :"BCNY"}}</span>
                                    </span>
                        {{?}}
                    </p>
                    <p style="display:{{=item.is_show==1?'flex':'none'}};">
                                <span>
                                    日挖矿收益
                                </span>
                        <span style="color:#ff7c34;">
                                    约{{=String(item.predict_income).replace(/([0-9]+\.[0-9]{0,2})[0-9]*/, "$1")}}CNY/份
                                </span>
                    </p>
                    {{?item.type==11}}
                    <p>
                                    <span>
                                        合约电价
                                    </span>
                        <span style="color:#ff7c34;">{{=item.elecPriceCny}}<span
                                style="padding-left: 0.02rem;font-size:0.2rem;">&nbsp;CNY/度</span>/&nbsp;{{=item.elecPriceUsdt}}<span
                                style="padding-left: 0.02rem;font-size:0.2rem;">&nbsp;USDT/度</span> </span>
                    </p>
                    {{?}}
                    {{?item.type==11 || item.type==10}}
                    <p>
                        <span>
                            预估收益率
                        </span>
                        <span>
                            约{{=item.income_ratePre}}%
                        </span>
                    </p>
                    {{?}}
                </div>
                {{?item.type==0}}
                <img src="../../image/iconactivityx.png"
                     style="position: absolute;top:0;right: 0;z-index: 2;width: 0.84rem;height: 0.4rem;">
                {{??}}
                {{?item.orinStaus=="waitOpen"}}
                <img src="../../image/iconactivityxa.png"
                     style="position: absolute;top:0;right: 0;z-index: 2;width: 0.84rem;height: 0.4rem;">
                {{?}}
                {{?}}
            </div>
            <div>
                <p>
                    <span style="margin-right: 0.1rem;">
                        剩余算力
                    </span>
                    <span style="font-size: 0.26rem;color:rgba(38,38,38,1);">
                        {{=item.num_leftTotalPower}}{{=item.unit_name}}
                    </span>
                </p>
                <p>
                    <span style="margin-right: 0.1rem;">
                        开挖时间:
                    </span>
                    <span>
                        {{=item.time_income}}
                    </span>
                </p>
            </div>
            <img src="../../image/iconyishouqingx.png" style="display:{{=item.num_left>0? 'none':'block'}};">
        </li>
        {{~}}
    </script>

</html>